home *** CD-ROM | disk | FTP | other *** search
- package Code.LIB
- {
- public class _id116
- {
- private var iSeed:uint;
-
- private var iMax:uint;
-
- public function _id116(param1:uint, param2:uint)
- {
- super();
- this.iSeed = param1;
- this.iMax = param2;
- }
-
- public function set _so518(param1:uint) : void
- {
- this.iMax = param1;
- }
-
- public function _qm468(param1:uint) : int
- {
- this.iMax = param1;
- return this._kl780();
- }
-
- public function _kl780() : int
- {
- iSeed = iSeed * 1103515245 + 12345;
- return uint(iSeed / 65536 % (iMax + 1));
- }
- }
- }
-
-